<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
  <img  :src="img" v-show="xs">
  <button @click="acl()" >点击隐藏图片</button>
  <ol type="A">
    <li v-for="(arr,index) in arrs">
      {{index+1}}----{{arr}}
    </li>
  </ol>
</div>

</body>
<script src="js/vue.js"></script>
<script>
  new Vue({
    el:"#app",
    data:{
      img:"img/1.jpg",
      xs:true,
      arrs:['我','你','他']
    },
    methods:{
      acl(){
        this.xs=false
      }
    },
    mounted(){
      alert("加载完成")
    }
  })
</script>
</html>